<template>
  <el-col v-for="(item, index) in statisticals" :span="6">
    <h3>保洁数</h3>
    <p>69456人</p>
    <p>+0.5%与昨天对比</p>
  </el-col>
</template>

<script setup lang="ts">
//接收父级传过来的值定义类型
interface ChildPropsType {
  statisticals: Array
}
//给父级传过来值设置默认值
const props = withDefaults(defineProps<ChildPropsType>(), {
  statisticals: () => []
})


</script>

<style lang="scss" scoped>
</style>
